package com.hcrazy.manchester.app.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
@RequestMapping("/admin")
public class MainController {

	@RequestMapping(value="/main",method=RequestMethod.GET)
	public void main(){
		
	}

	
	/************************以下是测试信息****************************************/
	
	@RequestMapping(value="/fun_bbs_module",method=RequestMethod.GET)
	public void fun_bbs_module(){
		
	}
	
	@RequestMapping(value="/fun_bbs_topic",method=RequestMethod.GET)
	public void fun_bbs_topic(){
		
	}
	
	@RequestMapping(value="/live_bus",method=RequestMethod.GET)
	public void live_bus(){
		
	}
	
	@RequestMapping(value="/live_plane",method=RequestMethod.GET)
	public void live_plane(){
		
	}
	
	/**
	 * 实用功能:列表页跳转
	 */
	@RequestMapping(value="/function_house_rent",method=RequestMethod.GET)
	public void function_house_rent(){
		
	}
	@RequestMapping(value="/function_house_sort",method=RequestMethod.GET)
	public void function_house_sort(){
		
	}
	@RequestMapping(value="/function_house_agency",method=RequestMethod.GET)
	public void function_house_agency(){
		
	}
	@RequestMapping(value="/function_house_net",method=RequestMethod.GET)
	public void function_house_net(){
		
	}
	
	/**
	 * 实用功能:添加页跳转
	 */
	@RequestMapping(value="/addHouseRent",method=RequestMethod.GET)
	public void addHouseRent(){
		
	}
	@RequestMapping(value="/addHouseNet",method=RequestMethod.GET)
	public void addHouseNet(){
		
	}
	@RequestMapping(value="/addHouseSort",method=RequestMethod.GET)
	public void addHouseSort(){
		
	}
	@RequestMapping(value="/addHouseAgency",method=RequestMethod.GET)
	public void addHouseAgency(){
		
	}
	
	@RequestMapping(value="/addMarket",method=RequestMethod.GET)
	public void addMarket(){
		
	}
	
	@RequestMapping(value="/addBall",method=RequestMethod.GET)
	public void addBall(){
		
	}
	
	@RequestMapping(value="/addTrain",method=RequestMethod.GET)
	public void addTrain(){
		
	}
	
	@RequestMapping(value="/addTrainTime",method=RequestMethod.GET)
	public void addTrainTime(){
		
	}
	
	@RequestMapping(value="/addModerator",method=RequestMethod.GET)
	public void addModerator(@RequestParam String forum,Model model){
		model.addAttribute("forum",forum);
		System.out.println(forum);
	}
	
	@RequestMapping(value="/editModule",method=RequestMethod.GET)
	public void editModule(@RequestParam String forum,Model model){
		model.addAttribute("forum",forum);
		System.out.println(forum);
	}
	
	@RequestMapping(value="/addChildModule",method=RequestMethod.GET)
	public void addChildModule(@RequestParam String forum,Model model){
		model.addAttribute("forum",forum);
		System.out.println(forum);
	}
	
	@RequestMapping(value="/addTraffic",method=RequestMethod.GET)
	public void addTraffic(){
		
	}
	
	@RequestMapping(value="/addSimple",method=RequestMethod.GET)
	public void addSimple(){
		
	}
	
	@RequestMapping(value="/test",method=RequestMethod.GET)
	public void test(){
		
	}
	
	
}
